package com.bcmusic.point.service;

import com.bcmusic.point.pojo.WholeAsset;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:admin
 * @Description:WholeAsset业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface WholeAssetService {

    /***
     * WholeAsset多条件分页查询
     * @param wholeAsset
     * @param page
     * @param size
     * @return
     */
    PageInfo<WholeAsset> findPage(WholeAsset wholeAsset, int page, int size);

    /***
     * WholeAsset分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<WholeAsset> findPage(int page, int size);

    /***
     * WholeAsset多条件搜索方法
     * @param wholeAsset
     * @return
     */
    List<WholeAsset> findList(WholeAsset wholeAsset);

    /***
     * 删除WholeAsset
     * @param id
     */
    void delete(Long id);

    /***
     * 修改WholeAsset数据
     * @param wholeAsset
     */
    void update(WholeAsset wholeAsset);

    /***
     * 新增WholeAsset
     * @param wholeAsset
     */
    void add(WholeAsset wholeAsset);

    /**
     * 根据ID查询WholeAsset
     * @param id
     * @return
     */
     WholeAsset findById(Long id);

    /***
     * 查询所有WholeAsset
     * @return
     */
    List<WholeAsset> findAll();
}
